package com.jxl.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 危机自救指南表
 * </p>
 *
 * @author 金小梁
 * @since 2025-02-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("crisis_response_decision_tree")
@ApiModel(value="CrisisResponseDecisionTree对象", description="危机自救指南表")
public class CrisisResponseDecisionTree implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "自救指南唯一标识")
    @TableId(value = "tree_id", type = IdType.AUTO)
    private Integer treeId;

    @ApiModelProperty(value = "危机类型")
    private String crisisType;

    @ApiModelProperty(value = "自救步骤（JSON格式）")
    private String responseSteps;

    @ApiModelProperty(value = "记录创建时间")
    private LocalDateTime createdAt;

    @ApiModelProperty(value = "记录更新时间")
    private LocalDateTime updatedAt;


}
